//
//  ICContactItem.m
//  ICome
//
//  Created by zhang_rongwu on 16/3/7.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICContactItem.h"

@implementation ICContactItem
+(instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title destVcClass:(Class)destVcClass {
    ICContactItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    item.destVcClass = destVcClass;
    return item;
}

+(instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title detailTitle:(NSString *)detailTitle destVcClass:(Class)destVcClass {
    ICContactItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    item.detailTitle = detailTitle;
    item.destVcClass = destVcClass;
    return item;
}

@end
